import React, { Component } from 'react'
import Child from './Child'

export default class Parent extends Component {
    render() {
        return (
          <div style={{
            display:'flex',
            justifyContent:'center',
            alignItems:'center',
            width:'300px',
            height:'300px',
            backgroundColor:'springgreen'
          }}>
            <Child></Child>
          </div>
        )
      }
}
